package org.redmagic.service.domain;

import java.util.List;

import com.google.common.base.Optional;

public class HierarchicalRequest {

	private final List<String> properties;
	private final List<List<String>> hierarchy;
	
	private Optional<String> user;
	
	public HierarchicalRequest(List<String> properties, List<List<String>> hierarchy) {
		this.properties = properties;
		this.hierarchy = hierarchy;
	}

	public List<String> getProperties() {
		return properties;
	}

	public List<List<String>> getHierarchy() {
		return hierarchy;
	}

	public Optional<String> getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = Optional.fromNullable(user);
	}
}